package com.company.cloud.user.modules.api.request;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseReturnEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Getter
@Setter
public class AuthUrlConfigAddRequest extends BaseParam {


    @ApiModelProperty(value = "服务名", required = true)
    @NotEmpty(message = "服务名不能为空")
    private String serviceName;


    @ApiModelProperty(value = "服务地址前缀")
    private String servicePath;


    @ApiModelProperty(value = "方法请求URL", required = true)
    @NotEmpty(message = "方法请求URL不能为空")
    private String methodUrl;


    @ApiModelProperty(value = "权限类型", required = true)
    @NotEmpty(message = "权限类型不能为空")
    private String authType;


    @ApiModelProperty(value = "操作人用户ID")
    private Integer opUserId;

    @ApiModelProperty(value = "操作人操作IP")
    private String opIp;


}
